﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects;

using Sita.Entities;
using Sita.Data.Core;

namespace Sita.Data.Context
{
    public interface ISitaContext : IQueryableContext
    {
        ObjectSet<User> Users { get; }
        ObjectSet<Replacement> Replacements { get; }
        ObjectSet<Module> Modules { get; }
        ObjectSet<BusinessUnit> BusinessUnits { get; }
        ObjectSet<Permission> Permissions { get; }
        ObjectSet<BusinessUnitPermission> BusinessUnitPermissions { get; }
        ObjectSet<UserPermission> UserPermissions { get; }
        ObjectSet<ModuleBusiness> ModuleBusinesses { get; }
        ObjectSet<Customer> Customers { get; }
        ObjectSet<Employee> Employees { get; }
        ObjectSet<ReplacementBrand> ReplacementBrands { get; }
        ObjectSet<VehicleBrand> VehicleBrands { get; }
        ObjectSet<Vehicle> Vehicles { get; }
        ObjectSet<VehicleType> VehicleTypes { get; }
        ObjectSet<WorkOrder> WorkOrders { get; }
        ObjectSet<WorkOrderEmployee> WorkOrderEmployees { get; }
        ObjectSet<WorkOrderReplacement> WorkOrderReplacements { get; }
        ObjectSet<WorkOrderStatu> WorkOrderStatus { get; }
        ObjectSet<Provider> Providers { get; }
        ObjectSet<DeliveryNote> DeliveryNotes { get; }
        ObjectSet<DeliveryNoteReplacement> DeliveryNoteReplacements { get; }
        ObjectSet<Invoice> Invoices { get; }
        ObjectSet<InvoiceReplacement> InvoiceReplacements { get; }
        ObjectSet<InvoiceExtraItem> InvoiceExtraItems { get; }
        ObjectSet<InvoiceDeliveryNote> InvoiceDeliveryNotes { get; }
    }
}
